<{include file="tpl/header.html"}>
<{if $cat_sons}>
<div>
<{foreach item=item key=key from=$cat_sons}>
	<a href="<{spUrl c=nav a=index cat_id=$cat_id url_id=$left_nav_id son_cat_id=$item['id']}>" class="btn <{if $son_cat_id==$item['id']}>btn-primary<{else}>btn-default<{/if}> "><{$item["name"]}></a>
<{/foreach}>
</div>
<hr />
<{/if}>
<iframe id="iframe" src="<{$iframe_src}>&content_only=1" scrolling="no" style="width:1100px;border:none;">
	
</iframe>
<script type="text/javascript">
	$("#iframe").load(function(){
    	var mainheight = $(this).contents().find("body").height()+30;
    	$(this).height(mainheight);
	});
</script>
<{include file="tpl/footer.html"}>